﻿Option Strict On

Imports System.Data
Imports System.Data.Common
Imports DbDataLib
Imports KUeLib.Vertraege

Namespace ServiceDefinitions

    Public MustInherit Class VertragsDataService
        Inherits ServiceClass

        Public Sub New(ByVal dataService As DbDataService)
            MyBase.New(dataService)
        End Sub

        Public MustOverride Function Save(ByVal vertrag As Vertrag) As Integer


        Public MustOverride Function GetVertragById(ByVal vertragId As Integer) As Vertrag


        Public MustOverride Function GetVertraegeForComboBoxSelection() As List(Of Vertrag)


        Public MustOverride Function GetVertraege() As List(Of Vertrag)


    End Class

End Namespace